projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8bec9
)
* syntax.c (update_syntax_table): Use unsigned instead of int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000
(
00:53
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Apr 2011 07:53:20 +0000
(
00:53
-0700)
src/ChangeLog
patch
|
blob
|
history
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index f572299f4ad2e1748f1ac00645c0b4cc47d5bbc1..dbd6cc2fb8685ad00fd63e1a22f8b5b72def3f51 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,6
+1,7
@@
2011-04-04 Paul Eggert <eggert@cs.ucla.edu>
* syntax.c (scan_words): Remove var that was set but not used.
+ (update_syntax_table): Use unsigned instead of int.
* lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs.
(lisp_file_lexically_bound_p, read1): Use unsigned instead of int.
diff --git
a/src/syntax.c
b/src/syntax.c
index 892cec65697cd8a412df329cc105de334f084d52..56176f3241860101beff2a860f9ef67fcee5aa36 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-175,7
+175,8
@@
update_syntax_table (EMACS_INT charpos, int count, int init,
Lisp_Object object)
{
Lisp_Object tmp_table;
- int cnt = 0, invalidate = 1;
+ unsigned cnt = 0;
+ int invalidate = 1;
INTERVAL i;
if (init)